h1.title1{
    text-align: center;
    margin-bottom: 20px;
  }
  
  .center1{
    width: 500px;
    margin-left: 600px;
    margin-top: -520px;
  }
  .chat-window1 {
    height: 500px;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
  }
  
  .chat-messages1 {
    padding: 10px;
    height: 420px;
    max-height: 500px;
    overflow-y: scroll;
  }
  
  .message1 {
    margin-top: 10px;
    display: flex;
    align-items: flex-start; /* Ensure messages align at the top */
  }
  
  .avatar1 {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
  }
  
  .message-received1 {
    display: flex;
    align-items: center;
  }
  
  .message-sent1 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  
  .sent1-message1 {
    justify-content: flex-end;
    text-align: right;
  }
  
  .received1-message1 {
    justify-content: flex-start;
  }
  
  .message-content1 {
    background-color: #f0f0f0;
    padding: 8px;
    border-radius: 8px;
  }
  
  .sent1-message1 .message-content1 {
    background-color: #007bff;
    color: #fff;
  }
  
  .avatar1 {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-left: 10px;
    margin-right: 10px;
  }
  .chat-input1 {
    display: flex;
    padding: 10px;
  }
  
  .chat-input1 input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
  }
  
  .chat-input1 button {
    padding: 8px 15px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  